package encaps.entities;

public class Grant {

    private String grantName;

    public Grant(String grantName) {
        this.grantName = grantName;
    }

    public String getGrantName() {
        return grantName;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (obj == this) {
            return true;
        }
        if (obj.getClass() != getClass()) {
            return false;
        }
        Grant other = (Grant) obj;
        return other.equals(obj);
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 13 * hash + (this.grantName != null ? this.grantName.hashCode() : 0);
        return hash;
    }
}
